package net.diaowen.common.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 组织机构表（暂时用不上）
 * @author zhangyuting
 * @date 2019年6月12日
 *
 */
@Entity
@Table(name = "T_ORG")
public class Org extends IdEntity {

	private String orgId;
	private String orgName;
	
	
	/**
	 * orgId唯一非空
	 * @return orgId
	 */
	@Column(nullable = false, unique = true)
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	public String getOrgName() {
		return orgName;
	}
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	
	
}
